package cn.edu.scau.cmi.zengGuanSheng.springAndhibernate.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * 教师类
 * @author Administrator
 *
 */
public class Teacher {
	private long id;
	private String name;
	private Set students = new HashSet(0);
	
	public Teacher() {
		
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getStudents() {
		return students;
	}

	public void setStudents(Set students) {
		this.students = students;
	}
	
	
}
